package com.healthcloud.dao.PatientRecord;

import com.healthcloud.dao.BaseDao;
import com.healthcloud.entity.PatientRecord.HcMedicalEntity;
import com.healthcloud.entity.PatientRecord.HcMedicalEntityQh;
import com.healthcloud.utils.PageParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用药信息
 *
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2018-07-23 16:04:16
 */
public interface HcMedicalDao extends BaseDao<HcMedicalEntity> {

    List<HcMedicalEntity> queryListQh(@Param("entity") HcMedicalEntityQh entity,@Param("pageParam") PageParam pageParam);

    int queryTotalQh(@Param("entity")HcMedicalEntityQh entity);

    void saveQh(@Param("entity")HcMedicalEntity entity);

    void deleteBatchQh(Long[] ids);

    void updateQh(@Param("entity")HcMedicalEntity entity);
}
